<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<script src="../../../../scripts/jquery.js" type="text/javascript"></script>
	<script src="../../../../scripts/jquery.utils.js" type="text/javascript"></script>
	<link  href="../../../../themes/default/ui.css" type="text/css" rel="stylesheet" />
	
	<!-- 换肤 -->
	<script type="text/javascript" src="../../../theme_cookie.js"></script>
	
	<script src="../ui.inputpro.js" type="text/javascript"></script>
	<link  href="../ui.inputpro.css" rel="stylesheet" type="text/css" />
	
	<!-- 控件无关JS、CSS -->
	<link  href="../../../../themes/common/icon.css" type="text/css" rel="stylesheet" />
	<link type="text/css" href="../../../demos.css" rel="stylesheet" />
    
	<script type="text/javascript" src="../../../../scripts/jquery_plugins/jquery.json.js"></script>
	
	<script type="text/javascript">
	function test(val){
		alert('test');
		//var feature = "center:yes;dialogWidth:800px;status:no;scroll:yes;resizable:yes;dialogHeight:600px";
		//var url = "http://www.baidu.com"
		
		//var returnJsonObject = window.showModalDialog(url,null,feature);
		//$(this).val(returnJsonObject.returnName);
		//$(this).attr("returnId",returnJsonObject.returnId);
	}
	</script>
</head>

<body>
	<div>
		<h2></h2>
		
		<div class='demo-block'>
			特殊字符：<input class="widget-class" widget="input" options="[{'functionType':'excludeChar','execlude':'\\<\\>\\\/'}]" type="text">（特殊字符设置为：&lt;>/）<br/>
			数字范围：<input class="widget-class" widget="input" options="[{'functionType':'numberRange','max':100,'min':10,'precision':1}]" type="text">（请输入数字，最大值:100,最小值:10，小数位：1）<br/>
			图片展示：<input class="widget-class" widget="input" options="[{'functionType':'img','click':'test'}]" type="text"><br/>
		</div>
	</div>
	
	<div class="demo-source">
	</div>
</body>
</html>